package com.imgo.max.experience.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.imgo.max.experience.mapping.UserExperience;
import com.imgo.max.experience.mapping.UserExperienceLog;

public interface UserExperienceMapper {

	int updateExperience(@Param(value = "uid") String uid, @Param(value = "value") int value);
	
	UserExperience queryExperienceByUid(@Param(value = "uid") String uid);
	
	List<UserExperience> queryExperienceByUids(@Param(value = "uids") List<String> uids);
	
	int increaseExperience(UserExperience expr);
	
	int addExperienceLog(UserExperienceLog praExprLog);
}